package com.ideheima.zuoye.zuoye3;

import java.util.Scanner;
import java.util.StringJoiner;

public class Test {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入年龄身高：");
        String dataStr = sc.next();
        String[] split = dataStr.split(",");

        int age = Integer.parseInt(split[0]);
        double height = Double.parseDouble(split[1]);
       // StringJoiner sj = new StringJoiner(",");
        System.out.println(age + "," + height);
    }
}
